import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import router from './router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import http from './request/http'

const app = createApp(App)
app.config.globalProperties.$http = http

app.use(router).use(ElementPlus, {
    locale: zhCn,
}).mount('#app')
